package org.code.boot.domain.boot;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableField;
import org.code.boot.domain.BaseEntity;

/**
 * 酒店订单对象 biz_hotel_order
 * 
 * @author coder
 * @date 2025-08-28
 */
public class BizHotelOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 酒店订单ID */
    private Long hotelOrderId;

    /** 用户 */
    private Long userId;

    /** 酒店 */
    private Long hotelId;

    /** 入住人姓名 */
    private String guestName;

    /** 入住人电话 */
    private String guestPhone;

    /** 入住日期 */
    private Date checkInDate;

    /** 退房日期 */
    private Date checkOutDate;

    /** 订单金额 */
    private BigDecimal orderAmount;

    /** 订单状态 */
    private String orderStatus;

    /** 用户名称 */
    @TableField(exist = false)
    private String userIdName;

    /** 酒店名称 */
    @TableField(exist = false)
    private String hotelIdName;

    public void setHotelOrderId(Long hotelOrderId) 
    {
        this.hotelOrderId = hotelOrderId;
    }

    public Long getHotelOrderId() 
    {
        return hotelOrderId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setHotelId(Long hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId() 
    {
        return hotelId;
    }

    public void setGuestName(String guestName) 
    {
        this.guestName = guestName;
    }

    public String getGuestName() 
    {
        return guestName;
    }

    public void setGuestPhone(String guestPhone) 
    {
        this.guestPhone = guestPhone;
    }

    public String getGuestPhone() 
    {
        return guestPhone;
    }

    public void setCheckInDate(Date checkInDate) 
    {
        this.checkInDate = checkInDate;
    }

    public Date getCheckInDate() 
    {
        return checkInDate;
    }

    public void setCheckOutDate(Date checkOutDate) 
    {
        this.checkOutDate = checkOutDate;
    }

    public Date getCheckOutDate() 
    {
        return checkOutDate;
    }

    public void setOrderAmount(BigDecimal orderAmount) 
    {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getOrderAmount() 
    {
        return orderAmount;
    }

    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }

    public void setUserIdName(String userIdName) 
    {
        this.userIdName = userIdName;
    }

    public String getUserIdName() 
    {
        return userIdName;
    }

    public void setHotelIdName(String hotelIdName) 
    {
        this.hotelIdName = hotelIdName;
    }

    public String getHotelIdName() 
    {
        return hotelIdName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hotelOrderId", getHotelOrderId())
            .append("userId", getUserId())
            .append("hotelId", getHotelId())
            .append("guestName", getGuestName())
            .append("guestPhone", getGuestPhone())
            .append("checkInDate", getCheckInDate())
            .append("checkOutDate", getCheckOutDate())
            .append("orderAmount", getOrderAmount())
            .append("orderStatus", getOrderStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
